

<div ng-controller="orderAuditBreakBulkDetailController" class="controller">
    <div class="bg-light lter b-b wrapper-sm">
        <h1 class="m-n font-thin h4">零担审核详情</h1>
    </div>
    <div class="wrapper-sm">
        <form name="step1" id="AcceptForm" class="form-validation form-horizontal" novalidate>
            <div class="panel panel-default">
                <div class="groupConent">
                    <div class="group-titel">订单列表</div>
                    <div class="wrapper-sm ">
                        <div class="table-responsive table-cel-k">
                            <table class="table-bordered table-hover">
                                <thead class="table-thea">
                                    <tr>
                                        <th width="9%">订单编号</th>
                                        <th width="9%">客户单位</th>
                                        <th width="9%">发货地址</th>
                                        <th width="9%">中转地</th>
                                        <th width="9%">送货地址</th>
                                        <th width="9%">货物名称</th>
                                        <th width="9%">货物数量</th>
                                        <th width="9%">所需车长</th>
                                        <th width="9%">发货时间</th>
                                        <th width="5%">操作</th>
                                    </tr>
                                </thead>
                                <tbody class="tab-tbod">
                                    <tr ng-repeat="item in orderList" title="{{item.orderId}} {{item.clientName}} {{item.originProvinceStr + item.originCityStr +  item.originCountyStr + item.originDetails}} {{item.viaList}} {{item.destinationProvinceStr + item.destinationCityStr + item.destinationCountyStr + item.destinationDetails}} {{item.goodsName}} {{item.realQuantityOfGoods + item.goodsUnit}} {{item.carLength}} {{item.deliveryTime}}">
                                        <td>{{item.orderId}}</td>
                                        <td>{{item.clientName}}</td>
                                        <td>{{item.originProvinceStr + item.originCityStr + item.originCountyStr + item.originDetails}}</td>
                                        <td>{{item.viaList}}</td>
                                        <td>{{item.destinationProvinceStr + item.destinationCityStr + item.destinationCountyStr + item.destinationDetails}}</td>
                                        <td>{{item.goodsName}}</td>
                                        <td>{{item.realQuantityOfGoods + item.goodsUnit}}</td>
                                        <td>{{item.carLength}}</td>
                                        <td>{{item.deliveryTime}}</td>
                                        <td>
                                            <a class="fa fa-eye m-l-xs  primary text-info" title="查看详情" data-toggle="modal" data-target="#detail" ng-click="orderBreakList(item)"></a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>

            <div class="titleC" id="carriage">
                <h1 class="leftred m-n font-thin h4">承运信息</h1>
            </div>

            <div class="panel panel-default">
                <div class="groupConent">
                    <div class="group-titel">承运商信息</div>
                    <div class="form-group">
                        <label class="col-lg-1 col-md-2 control-label">承运商名称<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="CData.carrier" placeholder="请填写承运商名称" disabled="disabled" name="carrierName" id="carrierName">
                        </div>
                        <label class="col-lg-2 col-md-3 control-label">承运商号码<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="tel" class="form-control input-sm" ng-value="CData.carrierPhone" placeholder="请填写承运商号码" disabled="disabled" ng-pattern="/^1\d{10}$/" name="carrierPhone" id="carrierPhone">
                        </div>
                        <label class="col-lg-2 col-md-2 control-label">承运商类型<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="tel" class="form-control input-sm" ng-value="CData.carrierType" placeholder="承运商类型" disabled="disabled" name="carrierType" id="carrierType">
                        </div>
                    </div>
                </div>
            </div>

            <div class="panel panel-default">
                <div class="groupConent">
                    <div class="group-titel">承运商车辆信息</div>
                    <div class="form-group">
                        <label class="col-lg-1 col-md-2 control-label">车牌号<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control uppercase input-sm" ng-value="CData.carCode" disabled="disabled" placeholder="请填写车牌号" ng-pattern="/^[\u4e00-\u9fa5]{1}[a-zA-Z]{1}[a-zA-Z_0-9]{5}$/" name="carCode" id="carCode">
                        </div>
                        <label class="col-lg-2 control-label col-md-3">驾驶员号码<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="tel" class="form-control input-sm" ng-value="CData.driverPhone" placeholder="请填写驾驶员号码" disabled="disabled" ng-pattern="/^1\d{10}$/" name="driverPhone" id="driverPhone">
                        </div>
                        <label class="col-lg-2 control-label col-md-2">驾驶员姓名<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="CData.driver" placeholder="请填写驾驶员姓名" disabled="disabled" name="driverName" id="driverName">
                        </div>
                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 control-label col-md-2">车长<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="CData.carLength" disabled="disabled" id="carLength" name="carLength">
                        </div>
                        <label class="control-label col-lg-2 col-md-3">车型<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="CData.vehicleType" disabled="disabled" id="vehicleType" name="vehicleType">
                        </div>
                        <button ng-click="location(CData.carId,CData.driverPhone)" data-toggle="modal" data-target="#location" class="pull-left btn btn-sm m-r btn-primary btn-addon " id="locationFn"><i class="fa fa-location-arrow"></i>定位</button>

                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 col-md-2 control-label">道路运输许可证<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="CData.permitNumber" disabled="disabled" id="permitNumber" name="permitNumber">
                        </div>
                        <label class="control-label col-lg-2 col-md-3">所属辖区<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="CData.countrySubdivisionProvince + CData.countrySubdivisionCity + CData.countrySubdivisionCountry" disabled="disabled" id="countrySubdivision" name="countrySubdivision">
                        </div>
                        <label class=" control-label col-lg-2 col-md-2">道路运输证字号<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="CData.roadTransportCertificateNumber" disabled="disabled" id="roadTransportCertificateNumber" name="roadTransportCertificateNumber">
                        </div>
                    </div>
                </div>
            </div>

            <div class="panel panel-default">
                <div class="groupConent">
                    <div class="group-titel">应付价格信息</div>
                    <div class="form-group">
                        <label class="col-lg-1 col-md-2  control-label">应付单价<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-2">
                            <input type="text" class="form-control input-sm" ng-value="CData.payablePrice" placeholder="请填写应付单价" disabled="disabled" name="carrierReceivablePirce" id="carrierReceivablePirce">
                        </div>
                        <div class="pull-left m-l-n-sm w-xs">
                            <input type="text" class="form-control input-sm" ng-value="CData.payablePriceUnit" disabled="disabled" id="payablePriceUnit" name="payablePriceUnit">
                        </div>
                        <label class="ml-label col-lg-1 col-md-2 control-label">应付说明<span class="text-danger">*</span></label>
                        <div class="col-lg-6 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="CData.payableSummary" placeholder="请填写应付说明" disabled="disabled" name="carrierReceivableRemarks" id="carrierReceivableRemarks">
                        </div>
                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 col-md-2 control-label">预付款</label>
                        <div class="col-lg-2 col-md-2">
                            <input type="text" class="form-control input-sm" ng-value="CData.advancePaymentList[0].advancePrice" placeholder="请填写预付款" value="0" disabled="disabled" name="advancePrice" id="advancePrice">
                        </div>
                        <div class="pull-left m-l-n-sm w-xs">
                            <input type="text" class="form-control input-sm" ng-value="CData.advancePaymentList[0].advancePriceTypeStr" disabled="disabled" id="advancePriceTypeStr" name="advancePriceTypeStr">
                        </div>
                        <div class="col-lg-2 col-md-2">
                            <input type="text" class="form-control input-sm" ng-value="CData.advancePaymentList[1].advancePrice" value="0" disabled="disabled" name="advancePriceTypeTwo" id="advancePriceTypeTwo">
                        </div>
                        <div class="pull-left m-l-n-sm w-xs">
                            <input type="text" class="form-control input-sm" ng-value="CData.advancePaymentList[1].advancePriceTypeStr" disabled="disabled" id="advancePriceTypeStr02" name="advancePriceTypeStr02">
                        </div>
                        
                        <label class="ml-label col-lg-1 col-md-2 control-label">回单款</label>
                        <div class="col-lg-2 col-md-2 m-l-n-sm">
                            <input type="text" class="form-control input-sm" ng-value="CData.receiptPrice" value="0" disabled="disabled" name="receiptPrice" id="receiptPrice">
                        </div>
                        <div class="pull-left m-l-n-sm w-xs">
                            <input type="text" class="form-control input-sm" ng-value="CData.receiptPriceUnit" disabled="disabled" id="receiptPriceUnit" name="receivablePriceUnit">
                        </div>

           
                
                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 col-md-2 control-label">银行卡号<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="CData.bankCode" placeholder="请填写银行卡号" disabled="disabled" name="bankCode" id="bankCode" name="bankCode">
                        </div>
                        <label class="col-lg-2 col-md-3 control-label">开户银行<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="CData.bankName" placeholder="请填写开户银行" disabled="disabled" name="openBank" id="openBank" name="openBank">
                        </div>
                        <label class="col-lg-2 col-md-2 control-label">持卡人姓名<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-2">
                            <input type="text" class="form-control input-sm" ng-value="CData.holder" placeholder="请填写持卡人姓名" disabled="disabled" name="holder" id="holderName" name="holderName">
                        </div>
                    </div>
                </div>
            </div>

            <div class="line  pull-in"></div>
            <div class="panel panel-default" id="remark">
                <div class="groupConent">
                    <div class="group-titel">备注信息</div>
                    <div class="form-group">
                        <label class="col-lg-1 col-md-2 control-label">备注</label>
                        <div class="col-lg-10 col-md-10">
                            <textarea class="form-control" ng-disabled="remarksDis" ng-model="CData.remarks" placeholder="请填写备注" name="remarks"></textarea>
                        </div>
                    </div>
                </div>
            </div>

            <div class="line  pull-in"></div>
            <div class="form-group">
                <label class="col-lg-1 pull-left control-label"></label>
                <div class="col-lg-7">
                    <button class="pull-right-xs btn btn-sm btn-primary btn-addon" ng-click="returnOrderC()" ng-if="backShow" ng-disabled="backDis" id="returnOrderC"><i class="fa fa-mail-reply"></i>退回派车</button>
                    <button class="pull-right-xs btn btn-sm btn-info btn-addon" ng-click="confirmC()" ng-disabled="saveDis" ng-if="saveBtn" id="confirmC"><i class="fa fa-check"></i>确定</button>
                    <button class="pull-right-xs btn btn-sm btn-warning btn-addon" ng-click="cancelC()" id="cancelC"><i class="fa fa-times"></i>取消</button>
                </div>
            </div>

            <!--弹出框拖动-->
            <!--detailModal -->
            <div class="modal fade bs-example-modal-lg" id="detail" tabindex="-1" data-focus-on="input:first" style="display: none;">
                <div class="modal-lgs">
                    <div class="modal-content top0">
                        <div class="modal-header">
                            <button id="orderDeliverBreakBulk_detail" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="detailModalLabel">订单详情</h4>
                        </div>
                        <div class="modal-body height0">
                            <div class="wrapper-sm">
                                <div class="titleC" id="plan"> 
                                    <h1 class="leftred m-n font-thin h4">计划内容</h1>
                                </div>
                                <form name="step2" id="form2" class="form-validation form-horizontal" novalidate>
                                    <div class="panel panel-default">
                                        <div class="groupConent">
                                            <div class="group-titel">基本信息
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">订单编号  :</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-8 control-label text-left">{{OData.orderId}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">子询价编号  :</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-8 control-label text-left">{{OData.inquiryChildId}}</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">客户订单编号  :</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-8 control-label text-left">{{OData.clientOrderId}}</label>

                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">下单时间  :</label>
                                                <label class="col-lg-2 col-md-4 col-sm-9 col-xs-8 control-label text-left">{{OData.creationTime}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">紧急程度<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-2 col-sm-9 col-xs-8 control-label text-left">{{OData.responseTime}}</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">计划专员  :</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{OData.plannerName}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">商务专员<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-4 col-sm-9 col-xs-9 control-label text-left">{{OData.businessAffairsName}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">客服专员<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{OData.customerServiceName}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">调度专员<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-4 col-sm-9 col-xs-9 control-label text-left">{{OData.dispatcherName}}</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">客户单位<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{OData.clientName}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">发货计划人<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-4 col-sm-9 col-xs-9 control-label text-left">{{OData.consignorName}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">发货人号码<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{OData.consignorPhone}}</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">发货内容  :</label>
                                                <label class="col-lg-10 control-label text-left">{{OData.content}}</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">备注:</label>
                                                <div class="col-lg-8 col-md-9 col-sm-9 col-xs-9">
                                                    <textarea class="form-control" ng-bind="OData.remarks" disabled="disabled" placeholder="请填写备注" name="remarks"></textarea>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="line  pull-in"></div>
                                    <div class="titleC" id="plan02"> 
                                        <h1 class="leftred m-n font-thin h4">线路货物信息</h1>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="groupConent">
                                            <div class="group-titel">子线路信息</div>
                                            <div class="wrapper-sm m-t-n">
                                                <div class="table-responsive table-cel-k">
                                                    <table class="table-bordered table-hover">
                                                        <thead class="table-thea">
                                                            <tr>
                                                                <th width="9%">发货地址</th>
                                                                <th width="9%">送货地址</th>
                                                                <th width="9%">发货时间</th>
                                                                <th width="9%">到货时间</th>
                                                                <th width="9%">货物类别</th>
                                                                <th width="9%">货物名称</th>
                                                                <th width="9%">货物数量</th>
                                                                <th width="9%">应收单价</th>
                                                                <th width="9%">应收总价</th>
                                                                <th width="9%">结算单位</th>
                                                                <th width="5%">操作</th>
                                                            </tr>
                                                        </thead>
                                                        <tbody class="tab-tbod">
                                                            <tr ng-repeat="item in orderChildrenList" title="{{item.shipProvinceStr + item.shipCityStr + item.shipAreaStr + item.shipAddress}} {{item.deliverProvinceStr + item.deliverCityStr +  item.deliverAreaStr + item.deliverAddress}} {{item.shipTime}} {{item.arriveTime}} {{item.goodsType}} {{item.goodsName}} {{item.goodsNum + item.goodsNumUnit}} {{item.receivablePrice + item.receivablePriceUnit}} {{item.receivableTotal}} {{item.reckoner}}">
                                                                <td>{{item.shipProvinceStr + item.shipCityStr + item.shipAreaStr + item.shipAddress}}</td>
                                                                <td>{{item.deliverProvinceStr + item.deliverCityStr + item.deliverAreaStr + item.deliverAddress}}</td>
                                                                <td>{{item.shipTime}}</td>
                                                                <td>{{item.arriveTime}}</td>
                                                                <td>{{item.goodsType}}</td>
                                                                <td>{{item.goodsName}}</td>
                                                                <td>{{item.goodsNum + item.goodsNumUnit}}</td>
                                                                <td>
                                                                    <span ng-if="item.receivablePriceUnit =='未知' ">{{item.receivablePrice}}</span>
                                                                    <span ng-if="item.receivablePriceUnit !='未知' ">{{item.receivablePrice + item.receivablePriceUnit}}</span>
                                                                </td>
                                                                <td>
                                                                    <span ng-if="item.receivableTotal !='0' ">{{item.receivableTotal}}</span>元</td>
                                                                <td>{{item.reckoner}}</td>
                                                                <td>
                                                                    <a data-toggle="modal" data-target="#orderChildren" title="查看详情" class="fa fa-eye m-l-xs  primary text-info" ng-click="EditChildren(item)"></a>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="panel panel-default">
                                        <div class="groupConent">
                                            <div class="group-titel">附件信息</div>
                                            <div class="wrapper-sm">
                                                <table class="table bg-white-only b-a">
                                                    <thead>
                                                        <tr>
                                                            <th width="50%">名称</th>
                                                            <th >大小</th>
                                                            <th >进度</th>
                                                            <th>状态</th>
                                                            <th>操作</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                        <tr ng-repeat="item in driverUploader.queue">
                                                            <td>
                                                                <strong>{{ item.fileName|| item.fileName }}</strong>
                                                            </td>
                                                            <td  nowrap>{{ item.fileSize/1024/1024|number:2 }} MB</td>
                                                            <td >
                                                                <div class="progress" style="margin-bottom: 0;">
                                                                    <div class="progress-bar" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                                                </div>
                                                            </td>
                                                            <td class="text-center">
                                                                <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                                <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                                <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                            </td>
                                                            <td nowrap>
                                                                <button type="button" class="btn btn-primary btn-xs" ng-click="driverUploader.onDownload(item)" id="driverDownload">
                                                                    <span class="fa fa-cloud-download"></span> 下载
                                                                </button>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="line  pull-in"></div>
                                    <div class="titleC" id="plan03"> 
                                        <h1 class="leftred m-n font-thin h4">APP竞价结果</h1>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="groupConent">
                                            <div class="group-titel">APP竞价结果</div>
                                            <div class="wrapper-sm">
                                                <div class="table-responsive table-cel-k">
                                                    <table class="table-bordered table-hover">
                                                        <thead class="table-thea">
                                                            <tr>
                                                                <th width="9%">承运商类型</th>
                                                                <th width="9%">报价人</th>
                                                                <th width="9%">电话</th>
                                                                <th width="9%">报价金额</th>
                                                                <th width="9%">报价说明</th>
                                                                <th width="9%">车牌号</th>
                                                                <th width="9%">报价时间</th>
                                                            </tr>
                                                        </thead>
                                                        <tbody class="tab-tbod">
                                                            <tr ng-repeat="item in orderAppBiddingList" title="{{item.carrierType}} {{item.userRealName}} {{item.phoneNumber}} {{item.price}} {{item.description}} {{item.carCode}} {{item.time}}">
                                                                <td>{{item.carrierType}}</td>
                                                                <td>{{item.userRealName}}</td>
                                                                <td>{{item.phoneNumber}}</td>
                                                                <td>{{item.price}}</td>
                                                                <td>{{item.description}}</td>
                                                                <td>{{item.carCode}}</td>
                                                                <td>{{item.time}}</td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="line  pull-in"></div>
                            <div class="line  pull-in"></div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default" data-dismiss="modal" id="cancelDetailModal">取消</button>
                            </div>
                        </div>
                    </div>
                </div>>
            </div>

            <!--orderChildren Modal -->
            <div class="modal fade bs-example-modal-lg" id="orderChildren" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                <div class="modal-dialog modal-lg">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close" id="closeOrderChildModal"><span aria-hidden="true" >&times;</span></button>
                            <h4 class="modal-title" id="orderChildrenModalLabel">子线路货物信息</h4>
                        </div>
                        <form name="step4" id="form4" class="form-validation form-horizontal" novalidate>
                            <div class="modal-body">
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">发货地址<span class="text-danger">*</span></label>
                                    <div class="col-lg-6">
                                        <div class="form-group form-inline m-n">
                                            <div class="form-group m-n">
                                                <input type="text" class="form-control" ng-value="orderChil.shipProvinceStr" disabled="disabled" id="shipProvince" name="shipProvince">
                                            </div>
                                            <div class="form-group m-n">
                                                <input type="text" class="form-control" ng-value="orderChil.shipCityStr" disabled="disabled" id="shipCity" name="shipCity">
                                            </div>
                                            <div class="form-group m-n">
                                                <input type="text" class="form-control" ng-value="orderChil.shipAreaStr" disabled="disabled" id="shipArea" name="shipArea">
                                            </div>
                                        </div>
                                        <br />
                                        <input type="text" class="form-control" ng-value="orderChil.shipAddress" placeholder="请填写详细地址" disabled="disabled" name="shipAddress" name="shipAddress" id="shipAddress">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">送货地址<span class="text-danger">*</span></label>
                                    <div class="col-lg-6">
                                        <div class="form-group form-inline m-n">
                                            <div class="form-group m-n">
                                                <input type="text" class="form-control" ng-value="orderChil.deliverProvinceStr" disabled="disabled" id="deliverProvince" name="deliverAddress">
                                            </div>
                                            <div class="form-group m-n">
                                                <input type="text" class="form-control" ng-value="orderChil.deliverCityStr" disabled="disabled" id="deliverCity" name="deliverCity">
                                            </div>
                                            <div class="form-group m-n">
                                                <input type="text" class="form-control" ng-value="orderChil.deliverAreaStr" disabled="disabled" id="deliverArea" name="deliverArea">
                                            </div>
                                        </div>
                                        <br />
                                        <input type="text" class="form-control" ng-value="orderChil.deliverAddress" placeholder="请填写详细地址" name="deliverAddress" disabled="disabled" id="deliverAddress" name="deliverAddress">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">中转地</label>
                                    <div class="col-lg-6">
                                        <span class="ui-select-bootstrap dropdown form-control" disabled="disabled">
                                            <span ng-repeat="item in orderChil.viaAddressList">
                                                <span style="margin-right: 3px; margin-bottom:3px;" class="ui-select-match-item btn btn-default btn-xs">
                                                    <span>{{item}}</span>
                                        </span>
                                        </span>
                                        </span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">发货时间<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.shipTime" disabled="disabled" name="shipTime" id="shipTime">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">到货时间<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.arriveTime" disabled="disabled" name="arriveTime" id="arriveTime">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">里程数</label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.mileage" disabled="disabled" name="mileage" id="mileage">
                                    </div>
                                    <label class="pull-left control-label">公里</label>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物类别<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control" ng-value="orderChil.goodsType" disabled="disabled" id="goodsType" name="goodsType">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物名称<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control" ng-value="orderChil.goodsName" disabled="disabled" id="goodsName" name="goodsName">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">吨位范围<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control" ng-value="orderChil.tonRange" disabled="disabled" id="tonRange" name="tonRange" id="">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物数量<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input type="text" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control " ng-value="orderChil.goodsNum" disabled="disabled" name="goodsNum" id="goodsNum">
                                    </div>
                                    <div class="pull-left m-l-n-sm">
                                        <input type="text" class="form-control" ng-value="orderChil.goodsNumUnit" disabled="disabled" id="goodsNumUnit" name="goodsNumUnit">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物数量2</label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.goodsNumTwo" disabled="disabled" name="goodsNumTwo" id="goodsNumTwo">
                                    </div>
                                    <div class="pull-left m-l-n-sm">
                                        <input type="text" class="form-control" ng-value="orderChil.goodsNumUnitTwo" disabled="disabled" id="goodsNumUnitTwo" name="goodsNumUnitTwo">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">结算方式<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control" ng-value="orderChil.settleType" disabled="disabled" id="settleType" name="settleType">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">含税<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control" ng-value="orderChil.includeTax" disabled="disabled" id="includeTax" name="includeTax">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">应收说明</label>
                                    <div class="col-lg-6">
                                        <input type="text" class="form-control " ng-value="orderChil.receivableRemarks" disabled="disabled" name="receivableRemarks" id="receivableRemarks">
                                    </div>
                                </div>
                                <div class="form-group" ng-show="true">
                                    <label class="col-lg-3 control-label">应收单价<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.receivablePrice" disabled="disabled" name="receivableprice" id="receivableprice">
                                    </div>
                                    <div class="pull-left m-l-n-sm">
                                        <input type="text" class="form-control" ng-value="orderChil.receivablePriceUnit" disabled="disabled" id="receivablePriceUnit" name="receivablePriceUnit">
                                    </div>
                                </div>
                                <div class="form-group" ng-show="true">
                                    <label class="col-lg-3 control-label">应收总价</label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.receivableTotal" disabled="disabled" name="receivabletotal" id="receivabletotal">
                                    </div>
                                    <label class="pull-left control-label">元</label>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">结算单位<span class="text-danger">*</span></label>
                                    <div class="col-lg-6">
                                        <input type="text" class="form-control " id="reckoner" ng-value="orderChil.reckoner" disabled="disabled" name="reckoner">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">工程名称</label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.projectName" disabled="disabled" name="projectName" id="projectName">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">工程编号</label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.projectCode" disabled="disabled" name="projectCode" id="projectCode">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">工程总量</label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.projectTotal" disabled="disabled" name="projectTotal" id="projectTotal">
                                    </div>
                                    <div class="pull-left m-l-n-sm">
                                        <input type="text" class="form-control" ng-value="orderChil.projectTotalUnit" disabled="disabled" id="projectTotalUnit" name="projectTotalUnit">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">收货单位</label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.takeGoodsCompany" disabled="disabled" name="takeGoodsCompany" id="takeGoodsCompany">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">收货人</label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.consignee" disabled="disabled" name="consignee" id="consignee">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">收货人号码</label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.consigneePhone" disabled="disabled" name="consigneePhone" id="consigneePhone">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">发货单号</label>
                                    <div class="col-lg-3">
                                        <input type="text" class="form-control " ng-value="orderChil.shipOrderId" disabled="disabled" name="shipOrderId" id="shipOrderId">
                                    </div>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default" data-dismiss="modal" id="cancelOrderChildMoadl">取消</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

            <!--location Modal -->
            <div class="modal fade bs-example-modal-lg" id="location" tabindex="-1" data-focus-on="input:first" style="display: none;">
                <div class="modal-dialog modal-lg">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close" id="closeLocation"><span aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="locationModalLabel">定位</h4>
                        </div>
                        <div class="modal-body">
                            <tms-carlocation></tms-carlocation>
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal" id="cancelLocation">取消</button>
                        </div>
                    </div>
                </div>
            </div>


        </form>
    </div>
</div>